package com.matt.foundation.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Ron
 * from com.matt
 * on 2018/6/29 0029.
 */
@Data
public class ContractProductVo {

    private String id;

    private Date created;

    private Boolean deleted;

    //产品id
    private String productId;

    //合同id
    private String contractId;

    //客户id
    private String clienteleId;

    //类型 1:意向（转客户） 2：已购买（签合同）
    private Integer type;

    //类型值
    private String typeVal;

    //数量
    private double count;

    //剩余数量
    private double remainCount;

    //实际单价
    private BigDecimal practicalAmount;

    //实际总价格
    private BigDecimal practicalTotalAmount;

    //实际单位价格
   // private BigDecimal practicalUnitAmount;

    //标准总价格
    private BigDecimal standardTotalAmount;

    //备注
    private String remark;

    /**
     * 以下为冗余字段
     */
    //产品名称
    private String productName;

    //产品单位
    private String productUnit;

    //产品单价
    private BigDecimal standardUnitAmount;




}
